<?php
/**
 * Dependency aggregator interface
 *
 * PHP version 5
 *
 * @category  W
 * @package   Interfaces
 * @author    Olivier Hoareau <olivier@phppro.fr>
 * @copyright 2009 PHPPRO http://www.phppro.fr
 * @license   http://dev.phppro.fr/license PHPPRO
 * @version   SVN: $Id:$
 * @link      http://dev.phppro.fr/projects/wdependency
 */
require_once 'W/Dependency/Operator/Interface.php';
/**
 * Dependency aggregator interface
 *
 * @category  W
 * @package   Interfaces
 * @author    Olivier Hoareau <olivier@phppro.fr>
 * @copyright 2009 PHPPRO http://www.phppro.fr
 * @license   http://dev.phppro.fr/license PHPPRO
 * @version   SVN: $Id$
 * @link      http://dev.phppro.fr/projects/wdependency
 */
interface W_Dependency_Aggregator_Interface extends W_Dependency_Operator_Interface
{
    /**
	 * Aggregates the dependencies
	 *
	 * @param array $data the dependencies
	 *
	 * @return W_Dependency_Aggregator_Interface
	 *
	 * @throws RuntimeException if an error occured
     */
    public function aggregate($data);
}